﻿namespace StudyCompanion.Model.User;

/// <summary>
///     用户登录返回信息
/// </summary>
public class CurrentUserVo
{
    /// <summary>
    ///     授权token码
    /// </summary>
    public string AccessToken { get; set; }

    /// <summary>
    ///     用户ID
    /// </summary>
    public long UserId { get; set; }

    /// <summary>
    ///     昵称
    /// </summary>
    public string NickName { get; set; }

    /// <summary>
    ///     头像
    /// </summary>
    public string Avatar { get; set; }

    /// <summary>
    ///     手机号码
    /// </summary>
    public string Phone { get; set; }

    /// <summary>
    ///     身份
    /// </summary>
    public int Identity { get; set; }

    /// <summary>
    ///     学校
    /// </summary>
    public string School { get; set; }

    /// <summary>
    ///     年纪
    /// </summary>
    public long Class { get; set; }

    /// <summary>
    ///     有效时间
    /// </summary>
    public DateTime ValidTime { get; set; }
}